Google\Site_Kit\Core\Permissions\Permissions B

Total Complexity 78
Dependencies 9
Dependents 28
Total lines 714
Lines of code 310
Logical lines of code 153
Comment lines 297
Methods 21
Properties 9

Methods 21

Method Rating Maintainability Complexity Lines of code
map_meta_capabilities()
B
41 22 52
check_module_sharing_admin_capability()
A
52 8 25
check_dashboard_sharing_capability()
S
55 7 19
__construct()
S
45 3 48
get_dashboard_sharing_meta_permissions()
S
59 4 14
check_view_splash_capability()
S
63 4 12
register()
S
53 3 26
check_view_authenticated_dashboard_capability()
S
65 4 10
get_capabilities()
S
59 2 17
grant_additional_caps()
S
67 3 8
check_view_dashboard_capability()
S
68 3 7
check_view_shared_dashboard_capability()
S
67 3 9
check_read_shared_module_data_capability()
S
71 2 6
user_has_shared_role_for_module()
S
68 2 7
user_has_shared_role()
S
68 2 7
is_user_authenticated()
S
71 1 6
is_user_verified()
S
71 1 6
is_shared_dashboard_splash_dismissed()
S
71 1 6
check_all_for_current_user()
S
65 1 10
get_dashboard_sharing_capabilities()
S
69 1 8
get_dashboard_sharing_meta_capabilities()
S
71 1 7